home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 December / 2004-12 CHIP.iso / CHIP / Porady / Srodowisko PHP-MySQL / PHP4 ADD-ON / PHP4_add-on.exe / {app} / php4 / php.ini < prev    next >
INI File  |  2004-07-22  |  40KB  |  1,121 lines

  1. [PHP]
  2.  
  3. ;;;;;;;;;;;
  4. ; WARNING ;
  5. ;;;;;;;;;;;
  6. ;PHP4
  7. ; This is the default settings file for new PHP installations.
  8. ; By default, PHP installs itself with a configuration suitable for
  9. ; development purposes, and *NOT* for production purposes.
  10. ; For several security-oriented considerations that should be taken
  11. ; before going online with your site, please consult php.ini-recommended
  12. ; and http://php.net/manual/en/security.php.
  13.  
  14.  
  15. ;;;;;;;;;;;;;;;;;;;
  16. ; About this file ;
  17. ;;;;;;;;;;;;;;;;;;;
  18. ; This file controls many aspects of PHP's behavior.  In order for PHP to
  19. ; read it, it must be named 'php.ini'.  PHP looks for it in the current
  20. ; working directory, in the path designated by the environment variable
  21. ; PHPRC, and in the path that was defined in compile time (in that order).
  22. ; Under Windows, the compile-time path is the Windows directory.  The
  23. ; path in which the php.ini file is looked for can be overridden using
  24. ; the -c argument in command line mode.
  25. ;
  26. ; The syntax of the file is extremely simple.  Whitespace and Lines
  27. ; beginning with a semicolon are silently ignored (as you probably guessed).
  28. ; Section headers (e.g. [Foo]) are also silently ignored, even though
  29. ; they might mean something in the future.
  30. ;
  31. ; Directives are specified using the following syntax:
  32. ; directive = value
  33. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
  34. ;
  35. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
  36. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
  37. ; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo").
  38. ;
  39. ; Expressions in the INI file are limited to bitwise operators and parentheses:
  40. ; |        bitwise OR
  41. ; &        bitwise AND
  42. ; ~        bitwise NOT
  43. ; !        boolean NOT
  44. ;
  45. ; Boolean flags can be turned on using the values 1, On, True or Yes.
  46. ; They can be turned off using the values 0, Off, False or No.
  47. ;
  48. ; An empty string can be denoted by simply not writing anything after the equal
  49. ; sign, or by using the None keyword:
  50. ;
  51. ;  foo =         ; sets foo to an empty string
  52. ;  foo = none    ; sets foo to an empty string
  53. ;  foo = "none"  ; sets foo to the string 'none'
  54. ;
  55. ; If you use constants in your value, and these constants belong to a
  56. ; dynamically loaded extension (either a PHP extension or a Zend extension),
  57. ; you may only use these constants *after* the line that loads the extension.
  58. ;
  59. ; All the values in the php.ini-dist file correspond to the builtin
  60. ; defaults (that is, if no php.ini is used, or if you delete these lines,
  61. ; the builtin defaults will be identical).
  62.  
  63.  
  64. ;;;;;;;;;;;;;;;;;;;;
  65. ; Language Options ;
  66. ;;;;;;;;;;;;;;;;;;;;
  67.  
  68. ; Enable the PHP scripting language engine under Apache.
  69. engine = On
  70.  
  71. ; Allow the <? tag.  Otherwise, only <?php and <script> tags are recognized.  
  72. ; NOTE: Using short tags should be avoided when developing applications or
  73. ; libraries that are meant for redistribution, or deployment on PHP
  74. ; servers which are not under your control, because short tags may not
  75. ; be supported on the target server. For portable, redistributable code,
  76. ; be sure not to use short tags.
  77. short_open_tag = On
  78.  
  79. ; Allow ASP-style <% %> tags.
  80. asp_tags = Off
  81.  
  82. ; The number of significant digits displayed in floating point numbers.
  83. precision    =  12
  84.  
  85. ; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
  86. y2k_compliance = On
  87.  
  88. ; Output buffering allows you to send header lines (including cookies) even
  89. ; after you send body content, at the price of slowing PHP's output layer a
  90. ; bit.  You can enable output buffering during runtime by calling the output
  91. ; buffering functions.  You can also enable output buffering for all files by
  92. ; setting this directive to On.  If you wish to limit the size of the buffer
  93. ; to a certain size - you can use a maximum number of bytes instead of 'On', as
  94. ; a value for this directive (e.g., output_buffering=4096).
  95. output_buffering = Off
  96.  
  97. ; You can redirect all of the output of your scripts to a function.  For
  98. ; example, if you set output_handler to "mb_output_handler", character
  99. ; encoding will be transparently converted to the specified encoding.
  100. ; Setting any output handler automatically turns on output buffering.
  101. ; Note: People who wrote portable scripts should not depend on this ini
  102. ;       directive. Instead, explicitly set the output handler using ob_start().
  103. ;       Using this ini directive may cause problems unless you know what script 
  104. ;       is doing.
  105. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
  106. ;       and you cannot use both "ob_gzhandler" and "zlib.output_compression". 
  107. ;output_handler =
  108.  
  109. ; Transparent output compression using the zlib library
  110. ; Valid values for this option are 'off', 'on', or a specific buffer size
  111. ; to be used for compression (default is 4KB)
  112. ; Note: Resulting chunk size may vary due to nature of compression. PHP 
  113. ;       outputs chunks that are few hundreds bytes each as a result of 
  114. ;       compression. If you prefer a larger chunk size for better 
  115. ;       performance, enable output_buffering in addition.
  116. ; Note: You need to use zlib.output_handler instead of the standard
  117. ;       output_handler, or otherwise the output will be corrupted.
  118. zlib.output_compression = Off
  119.  
  120. ; You cannot specify additional output handlers if zlib.output_compression
  121. ; is activated here. This setting does the same as output_handler but in
  122. ; a different order.
  123. ;zlib.output_handler =
  124.  
  125. ; Implicit flush tells PHP to tell the output layer to flush itself
  126. ; automatically after every output block.  This is equivalent to calling the
  127. ; PHP function flush() after each and every call to print() or echo() and each
  128. ; and every HTML block.  Turning this option on has serious performance
  129. ; implications and is generally recommended for debugging purposes only.
  130. implicit_flush = Off
  131.  
  132. ; The unserialize callback function will called (with the undefind class'
  133. ; name as parameter), if the unserializer finds an undefined class
  134. ; which should be instanciated.
  135. ; A warning appears if the specified function is not defined, or if the
  136. ; function doesn't include/implement the missing class.
  137. ; So only set this entry, if you really want to implement such a 
  138. ; callback-function.
  139. unserialize_callback_func=
  140.  
  141. ; When floats & doubles are serialized store serialize_precision significant
  142. ; digits after the floating point. The default value ensures that when floats
  143. ; are decoded with unserialize, the data will remain the same.
  144. serialize_precision = 100
  145.  
  146. ; Whether to enable the ability to force arguments to be passed by reference
  147. ; at function call time.  This method is deprecated and is likely to be
  148. ; unsupported in future versions of PHP/Zend.  The encouraged method of
  149. ; specifying which arguments should be passed by reference is in the function
  150. ; declaration.  You're encouraged to try and turn this option Off and make
  151. ; sure your scripts work properly with it in order to ensure they will work
  152. ; with future versions of the language (you will receive a warning each time
  153. ; you use this feature, and the argument will be passed by value instead of by
  154. ; reference).
  155. allow_call_time_pass_reference = On
  156.  
  157. ; Safe Mode
  158. ;
  159. safe_mode = Off
  160.  
  161. ; By default, Safe Mode does a UID compare check when
  162. ; opening files. If you want to relax this to a GID compare,
  163. ; then turn on safe_mode_gid.
  164. safe_mode_gid = Off
  165.  
  166. ; When safe_mode is on, UID/GID checks are bypassed when
  167. ; including files from this directory and its subdirectories.
  168. ; (directory must also be in include_path or full path must
  169. ; be used when including)
  170. safe_mode_include_dir =                                
  171.  
  172. ; When safe_mode is on, only executables located in the safe_mode_exec_dir
  173. ; will be allowed to be executed via the exec family of functions.
  174. safe_mode_exec_dir =
  175.  
  176. ; Setting certain environment variables may be a potential security breach.
  177. ; This directive contains a comma-delimited list of prefixes.  In Safe Mode,
  178. ; the user may only alter environment variables whose names begin with the
  179. ; prefixes supplied here.  By default, users will only be able to set
  180. ; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
  181. ;
  182. ; Note:  If this directive is empty, PHP will let the user modify ANY
  183. ; environment variable!
  184. safe_mode_allowed_env_vars = PHP_
  185.  
  186. ; This directive contains a comma-delimited list of environment variables that
  187. ; the end user won't be able to change using putenv().  These variables will be
  188. ; protected even if safe_mode_allowed_env_vars is set to allow to change them.
  189. safe_mode_protected_env_vars = LD_LIBRARY_PATH
  190.  
  191. ; open_basedir, if set, limits all file operations to the defined directory
  192. ; and below.  This directive makes most sense if used in a per-directory
  193. ; or per-virtualhost web server configuration file. This directive is
  194. ; *NOT* affected by whether Safe Mode is turned On or Off.
  195. ;open_basedir =
  196.  
  197. ; This directive allows you to disable certain functions for security reasons.
  198. ; It receives a comma-delimited list of function names. This directive is
  199. ; *NOT* affected by whether Safe Mode is turned On or Off.
  200. disable_functions =
  201.  
  202. ; This directive allows you to disable certain classes for security reasons.
  203. ; It receives a comma-delimited list of class names. This directive is
  204. ; *NOT* affected by whether Safe Mode is turned On or Off.
  205. disable_classes =
  206.  
  207. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
  208. ; <font color="??????"> would work.
  209. ;highlight.string  = #DD0000
  210. ;highlight.comment = #FF9900
  211. ;highlight.keyword = #007700
  212. ;highlight.bg      = #FFFFFF
  213. ;highlight.default = #0000BB
  214. ;highlight.html    = #000000
  215.  
  216.  
  217. ;
  218. ; Misc
  219. ;
  220. ; Decides whether PHP may expose the fact that it is installed on the server
  221. ; (e.g. by adding its signature to the Web server header).  It is no security
  222. ; threat in any way, but it makes it possible to determine whether you use PHP
  223. ; on your server or not.
  224. expose_php = On
  225.  
  226.  
  227. ;;;;;;;;;;;;;;;;;;;
  228. ; Resource Limits ;
  229. ;;;;;;;;;;;;;;;;;;;
  230.  
  231. max_execution_time = 30     ; Maximum execution time of each script, in seconds
  232. max_input_time = 60    ; Maximum amount of time each script may spend parsing request data
  233. memory_limit = 8M      ; Maximum amount of memory a script may consume (8MB)
  234.  
  235. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  236. ; Error handling and logging ;
  237. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  238.  
  239. ; error_reporting is a bit-field.  Or each number up to get desired error
  240. ; reporting level
  241. ; E_ALL             - All errors and warnings
  242. ; E_ERROR           - fatal run-time errors
  243. ; E_WARNING         - run-time warnings (non-fatal errors)
  244. ; E_PARSE           - compile-time parse errors
  245. ; E_NOTICE          - run-time notices (these are warnings which often result
  246. ;                     from a bug in your code, but it's possible that it was
  247. ;                     intentional (e.g., using an uninitialized variable and
  248. ;                     relying on the fact it's automatically initialized to an
  249. ;                     empty string)
  250. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
  251. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
  252. ;                     initial startup
  253. ; E_COMPILE_ERROR   - fatal compile-time errors
  254. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
  255. ; E_USER_ERROR      - user-generated error message
  256. ; E_USER_WARNING    - user-generated warning message
  257. ; E_USER_NOTICE     - user-generated notice message
  258. ;
  259. ; Examples:
  260. ;
  261. ;   - Show all errors, except for notices
  262. ;
  263. ;error_reporting = E_ALL & ~E_NOTICE
  264. ;
  265. ;   - Show only errors
  266. ;
  267. ;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
  268. ;
  269. ;   - Show all errors except for notices
  270. ;
  271. error_reporting  =  E_ALL & ~E_NOTICE
  272.  
  273. ; Print out errors (as a part of the output).  For production web sites,
  274. ; you're strongly encouraged to turn this feature off, and use error logging
  275. ; instead (see below).  Keeping display_errors enabled on a production web site
  276. ; may reveal security information to end users, such as file paths on your Web
  277. ; server, your database schema or other information.
  278. display_errors = On
  279.  
  280. ; Even when display_errors is on, errors that occur during PHP's startup
  281. ; sequence are not displayed.  It's strongly recommended to keep
  282. ; display_startup_errors off, except for when debugging.
  283. display_startup_errors = Off
  284.  
  285. ; Log errors into a log file (server-specific log, stderr, or error_log (below))
  286. ; As stated above, you're strongly advised to use error logging in place of
  287. ; error displaying on production web sites.
  288. log_errors = Off
  289.  
  290. ; Set maximum length of log_errors. In error_log information about the source is
  291. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
  292. log_errors_max_len = 1024
  293.  
  294. ; Do not log repeated messages. Repeated errors must occur in same file on same
  295. ; line until ignore_repeated_source is set true.
  296. ignore_repeated_errors = Off
  297.  
  298. ; Ignore source of message when ignoring repeated messages. When this setting 
  299. ; is On you will not log errors with repeated messages from different files or
  300. ; sourcelines.
  301. ignore_repeated_source = Off
  302.  
  303. ; If this parameter is set to Off, then memory leaks will not be shown (on
  304. ; stdout or in the log). This has only effect in a debug compile, and if 
  305. ; error reporting includes E_WARNING in the allowed list
  306. report_memleaks = On
  307.  
  308. ; Store the last error/warning message in $php_errormsg (boolean).
  309. track_errors = Off
  310.  
  311. ; Disable the inclusion of HTML tags in error messages.
  312. ;html_errors = Off
  313.   
  314. ; If html_errors is set On PHP produces clickable error messages that direct 
  315. ; to a page describing the error or function causing the error in detail.
  316. ; You can download a copy of the PHP manual from http://www.php.net/docs.php 
  317. ; and change docref_root to the base URL of your local copy including the
  318. ; leading '/'. You must also specify the file extension being used including 
  319. ; the dot.
  320. ;docref_root = "/phpmanual/"
  321. ;docref_ext = .html
  322.   
  323. ; String to output before an error message.
  324. ;error_prepend_string = "<font color=ff0000>"
  325.  
  326. ; String to output after an error message.
  327. ;error_append_string = "</font>"
  328.  
  329. ; Log errors to specified file.
  330. ;error_log = filename
  331.  
  332. ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
  333. ;error_log = syslog
  334.  
  335.  
  336. ;;;;;;;;;;;;;;;;;
  337. ; Data Handling ;
  338. ;;;;;;;;;;;;;;;;;
  339. ;
  340. ; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
  341.  
  342. ; The separator used in PHP generated URLs to separate arguments.
  343. ; Default is "&". 
  344. ;arg_separator.output = "&"
  345.  
  346. ; List of separator(s) used by PHP to parse input URLs into variables.
  347. ; Default is "&". 
  348. ; NOTE: Every character in this directive is considered as separator!
  349. ;arg_separator.input = ";&"
  350.  
  351. ; This directive describes the order in which PHP registers GET, POST, Cookie,
  352. ; Environment and Built-in variables (G, P, C, E & S respectively, often
  353. ; referred to as EGPCS or GPC).  Registration is done from left to right, newer
  354. ; values override older values.
  355. variables_order = "EGPCS"
  356.  
  357. ; Whether or not to register the EGPCS variables as global variables.  You may
  358. ; want to turn this off if you don't want to clutter your scripts' global scope
  359. ; with user data.  This makes most sense when coupled with track_vars - in which
  360. ; case you can access all of the GPC variables through the $HTTP_*_VARS[],
  361. ; variables.
  362. ;
  363. ; You should do your best to write your scripts so that they do not require
  364. ; register_globals to be on;  Using form variables as globals can easily lead
  365. ; to possible security problems, if the code is not very well thought of.
  366. register_globals = Off
  367.  
  368. ; This directive tells PHP whether to declare the argv&argc variables (that
  369. ; would contain the GET information).  If you don't use these variables, you
  370. ; should turn it off for increased performance.
  371. register_argc_argv = On
  372.  
  373. ; Maximum size of POST data that PHP will accept.
  374. post_max_size = 8M
  375.  
  376. ; This directive is deprecated.  Use variables_order instead.
  377. gpc_order = "GPC"
  378.  
  379. ; Magic quotes
  380. ;
  381.  
  382. ; Magic quotes for incoming GET/POST/Cookie data.
  383. magic_quotes_gpc = On
  384.  
  385. ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
  386. magic_quotes_runtime = Off    
  387.  
  388. ; Use Sybase-style magic quotes (escape ' with '' instead of \').
  389. magic_quotes_sybase = Off
  390.  
  391. ; Automatically add files before or after any PHP document.
  392. auto_prepend_file =
  393. auto_append_file =
  394.  
  395. ; As of 4.0b4, PHP always outputs a character encoding by default in
  396. ; the Content-type: header.  To disable sending of the charset, simply
  397. ; set it to be empty.
  398. ;
  399. ; PHP's built-in default is text/html
  400. default_mimetype = "text/html"
  401. ;default_charset = "iso-8859-1"
  402.  
  403. ; Always populate the $HTTP_RAW_POST_DATA variable.
  404. ;always_populate_raw_post_data = On
  405.  
  406.  
  407. ;;;;;;;;;;;;;;;;;;;;;;;;;
  408. ; Paths and Directories ;
  409. ;;;;;;;;;;;;;;;;;;;;;;;;;
  410.  
  411. ; UNIX: "/path1:/path2"  
  412. ;include_path = ".:/php/includes"
  413. ;
  414. ; Windows: "\path1;\path2"
  415. ;include_path = ".;c:\php\includes"
  416.  
  417. ; The root of the PHP pages, used only if nonempty.
  418. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
  419. ; if you are running php as a CGI under any web server (other than IIS)
  420. ; see documentation for security issues.  The alternate is to use the
  421. ; cgi.force_redirect configuration below
  422. doc_root =
  423.  
  424. ; The directory under which PHP opens the script using /~username used only
  425. ; if nonempty.
  426. user_dir =
  427.  
  428. ; Directory in which the loadable extensions (modules) reside.
  429. extension_dir = "./extensions/"
  430.  
  431. ; Whether or not to enable the dl() function.  The dl() function does NOT work
  432. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
  433. ; disabled on them.
  434. enable_dl = On
  435.  
  436. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
  437. ; most web servers.  Left undefined, PHP turns this on by default.  You can
  438. ; turn it off here AT YOUR OWN RISK
  439. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
  440. ; cgi.force_redirect = 1
  441.  
  442. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
  443. ; every request.
  444. ; cgi.nph = 1
  445.  
  446. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape 
  447. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
  448. ; will look for to know it is OK to continue execution.  Setting this variable MAY
  449. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
  450. ; cgi.redirect_status_env = ;
  451.  
  452. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
  453. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
  454. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
  455. ; this to 1 will cause PHP CGI to fix it's paths to conform to the spec.  A setting
  456. ; of zero causes PHP to behave as before.  Default is zero.  You should fix your scripts
  457. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
  458. ; cgi.fix_pathinfo=0
  459.  
  460. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
  461. ; security tokens of the calling client.  This allows IIS to define the
  462. ; security context that the request runs under.  mod_fastcgi under Apache
  463. ; does not currently support this feature (03/17/2002)
  464. ; Set to 1 if running under IIS.  Default is zero.
  465. ; fastcgi.impersonate = 1;
  466.  
  467. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
  468. ; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
  469. ; is supported by Apache. When this option is set to 1 PHP will send
  470. ; RFC2616 compliant header.
  471. ; Default is zero.
  472. ;cgi.rfc2616_headers = 0 
  473.  
  474.  
  475. ;;;;;;;;;;;;;;;;
  476. ; File Uploads ;
  477. ;;;;;;;;;;;;;;;;
  478.  
  479. ; Whether to allow HTTP file uploads.
  480. file_uploads = On
  481.  
  482. ; Temporary directory for HTTP uploaded files (will use system default if not
  483. ; specified).
  484. ;upload_tmp_dir =
  485.  
  486. ; Maximum allowed size for uploaded files.
  487. upload_max_filesize = 2M
  488.  
  489.  
  490. ;;;;;;;;;;;;;;;;;;
  491. ; Fopen wrappers ;
  492. ;;;;;;;;;;;;;;;;;;
  493.  
  494. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
  495. allow_url_fopen = On
  496.  
  497. ; Define the anonymous ftp password (your email address)
  498. ;from="john@doe.com"
  499.  
  500. ; Define the User-Agent string
  501. ; user_agent="PHP"
  502.  
  503. ; Default timeout for socket based streams (seconds)
  504. default_socket_timeout = 60
  505.  
  506. ; If your scripts have to deal with files from Macintosh systems,
  507. ; or you are running on a Mac and need to deal with files from
  508. ; unix or win32 systems, setting this flag will cause PHP to
  509. ; automatically detect the EOL character in those files so that
  510. ; fgets() and file() will work regardless of the source of the file.
  511. ; auto_detect_line_endings = Off
  512.  
  513.  
  514. ;;;;;;;;;;;;;;;;;;;;;;
  515. ; Dynamic Extensions ;
  516. ;;;;;;;;;;;;;;;;;;;;;;
  517. ;
  518. ; If you wish to have an extension loaded automatically, use the following
  519. ; syntax:
  520. ;
  521. ;   extension=modulename.extension
  522. ;
  523. ; For example, on Windows:
  524. ;
  525. ;   extension=msql.dll
  526. ;
  527. ; ... or under UNIX:
  528. ;
  529. ;   extension=msql.so
  530. ;
  531. ; Note that it should be the name of the module only; no directory information 
  532. ; needs to go here.  Specify the location of the extension with the
  533. ; extension_dir directive above.
  534.  
  535.  
  536. ;Windows Extensions
  537. ;Note that MySQL and ODBC support is now built in, so no dll is needed for it.
  538. ;
  539. ;extension=php_bz2.dll
  540. ;extension=php_cpdf.dll
  541. ;extension=php_crack.dll
  542. ;extension=php_curl.dll
  543. ;extension=php_db.dll
  544. ;extension=php_dba.dll
  545. ;extension=php_dbase.dll
  546. ;extension=php_dbx.dll
  547. ;extension=php_domxml.dll
  548. ;extension=php_exif.dll
  549. ;extension=php_fdf.dll
  550. ;extension=php_filepro.dll
  551. ;extension=php_gd2.dll
  552. ;extension=php_gettext.dll
  553. ;extension=php_hyperwave.dll
  554. ;extension=php_iconv.dll
  555. ;extension=php_ifx.dll
  556. ;extension=php_iisfunc.dll
  557. ;extension=php_imap.dll
  558. ;extension=php_interbase.dll
  559. ;extension=php_java.dll
  560. ;extension=php_ldap.dll
  561. ;extension=php_mbstring.dll
  562. ;extension=php_mcrypt.dll
  563. ;extension=php_mhash.dll
  564. ;extension=php_mime_magic.dll
  565. ;extension=php_ming.dll
  566. ;extension=php_mssql.dll
  567. ;extension=php_msql.dll
  568. ;extension=php_oci8.dll
  569. ;extension=php_openssl.dll
  570. ;extension=php_oracle.dll
  571. ;extension=php_pdf.dll
  572. ;extension=php_pgsql.dll
  573. ;extension=php_printer.dll
  574. ;extension=php_shmop.dll
  575. ;extension=php_snmp.dll
  576. ;extension=php_sockets.dll
  577. ;extension=php_sybase_ct.dll
  578. ;extension=php_w32api.dll
  579. ;extension=php_xmlrpc.dll
  580. ;extension=php_xslt.dll
  581. ;extension=php_yaz.dll
  582. ;extension=php_zip.dll
  583.  
  584.  
  585. ;;;;;;;;;;;;;;;;;;;
  586. ; Module Settings ;
  587. ;;;;;;;;;;;;;;;;;;;
  588.  
  589. [Syslog]
  590. ; Whether or not to define the various syslog variables (e.g. $LOG_PID,
  591. ; $LOG_CRON, etc.).  Turning it off is a good idea performance-wise.  In
  592. ; runtime, you can define these variables by calling define_syslog_variables().
  593. define_syslog_variables  = Off
  594.  
  595. [mail function]
  596. ; For Win32 only.
  597. SMTP = localhost
  598. smtp_port = 25
  599.  
  600. ; For Win32 only.
  601. ;sendmail_from = me@example.com
  602.  
  603. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
  604. ;sendmail_path =
  605.  
  606. [Java]
  607. ;java.class.path = .\php_java.jar
  608. ;java.home = c:\jdk
  609. ;java.library = c:\jdk\jre\bin\hotspot\jvm.dll 
  610. ;java.library.path = .\
  611.  
  612. [SQL]
  613. sql.safe_mode = Off
  614.  
  615. [ODBC]
  616. ;odbc.default_db    =  Not yet implemented
  617. ;odbc.default_user  =  Not yet implemented
  618. ;odbc.default_pw    =  Not yet implemented
  619.  
  620. ; Allow or prevent persistent links.
  621. odbc.allow_persistent = On
  622.  
  623. ; Check that a connection is still valid before reuse.
  624. odbc.check_persistent = On
  625.  
  626. ; Maximum number of persistent links.  -1 means no limit.
  627. odbc.max_persistent = -1
  628.  
  629. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  630. odbc.max_links = -1  
  631.  
  632. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
  633. ; passthru.
  634. odbc.defaultlrl = 4096  
  635.  
  636. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
  637. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
  638. ; of uodbc.defaultlrl and uodbc.defaultbinmode
  639. odbc.defaultbinmode = 1  
  640.  
  641. [MySQL]
  642. ; Allow or prevent persistent links.
  643. mysql.allow_persistent = On
  644.  
  645. ; Maximum number of persistent links.  -1 means no limit.
  646. mysql.max_persistent = -1
  647.  
  648. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  649. mysql.max_links = -1
  650.  
  651. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
  652. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
  653. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
  654. ; at MYSQL_PORT.
  655. mysql.default_port =
  656.  
  657. ; Default socket name for local MySQL connects.  If empty, uses the built-in
  658. ; MySQL defaults.
  659. mysql.default_socket =
  660.  
  661. ; Default host for mysql_connect() (doesn't apply in safe mode).
  662. mysql.default_host =
  663.  
  664. ; Default user for mysql_connect() (doesn't apply in safe mode).
  665. mysql.default_user =
  666.  
  667. ; Default password for mysql_connect() (doesn't apply in safe mode).
  668. ; Note that this is generally a *bad* idea to store passwords in this file.
  669. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
  670. ; and reveal this password!  And of course, any users with read access to this
  671. ; file will be able to reveal the password as well.
  672. mysql.default_password =
  673.  
  674. ; Maximum time (in secondes) for connect timeout. -1 means no limimt
  675. mysql.connect_timeout = 60
  676.  
  677. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
  678. ; SQL-Erros will be displayed.
  679. mysql.trace_mode = Off
  680.  
  681. [mSQL]
  682. ; Allow or prevent persistent links.
  683. msql.allow_persistent = On
  684.  
  685. ; Maximum number of persistent links.  -1 means no limit.
  686. msql.max_persistent = -1
  687.  
  688. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
  689. msql.max_links = -1
  690.  
  691. [PostgresSQL]
  692. ; Allow or prevent persistent links.
  693. pgsql.allow_persistent = On
  694.  
  695. ; Detect broken persistent links always with pg_pconnect(). Need a little overhead.
  696. pgsql.auto_reset_persistent = Off 
  697.  
  698. ; Maximum number of persistent links.  -1 means no limit.
  699. pgsql.max_persistent = -1
  700.  
  701. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
  702. pgsql.max_links = -1
  703.  
  704. ; Ignore PostgreSQL backends Notice message or not.
  705. pgsql.ignore_notice = 0
  706.  
  707. ; Log PostgreSQL backends Noitce message or not.
  708. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
  709. pgsql.log_notice = 0
  710.  
  711. [Sybase]
  712. ; Allow or prevent persistent links.
  713. sybase.allow_persistent = On
  714.  
  715. ; Maximum number of persistent links.  -1 means no limit.
  716. sybase.max_persistent = -1
  717.  
  718. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  719. sybase.max_links = -1
  720.  
  721. ;sybase.interface_file = "/usr/sybase/interfaces"
  722.  
  723. ; Minimum error severity to display.
  724. sybase.min_error_severity = 10
  725.  
  726. ; Minimum message severity to display.
  727. sybase.min_message_severity = 10
  728.  
  729. ; Compatability mode with old versions of PHP 3.0.
  730. ; If on, this will cause PHP to automatically assign types to results according
  731. ; to their Sybase type, instead of treating them all as strings.  This
  732. ; compatability mode will probably not stay around forever, so try applying
  733. ; whatever necessary changes to your code, and turn it off.
  734. sybase.compatability_mode = Off
  735.  
  736. [Sybase-CT]
  737. ; Allow or prevent persistent links.
  738. sybct.allow_persistent = On
  739.  
  740. ; Maximum number of persistent links.  -1 means no limit.
  741. sybct.max_persistent = -1
  742.  
  743. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  744. sybct.max_links = -1
  745.  
  746. ; Minimum server message severity to display.
  747. sybct.min_server_severity = 10
  748.  
  749. ; Minimum client message severity to display.
  750. sybct.min_client_severity = 10
  751.  
  752. [dbx]
  753. ; returned column names can be converted for compatibility reasons
  754. ; possible values for dbx.colnames_case are
  755. ; "unchanged" (default, if not set)
  756. ; "lowercase"
  757. ; "uppercase"
  758. ; the recommended default is either upper- or lowercase, but
  759. ; unchanged is currently set for backwards compatibility
  760. dbx.colnames_case = "unchanged"
  761.  
  762. [bcmath]
  763. ; Number of decimal digits for all bcmath functions.
  764. bcmath.scale = 0
  765.  
  766. [browscap]
  767. ;browscap = extra/browscap.ini
  768.  
  769. [Informix]
  770. ; Default host for ifx_connect() (doesn't apply in safe mode).
  771. ifx.default_host =
  772.  
  773. ; Default user for ifx_connect() (doesn't apply in safe mode).
  774. ifx.default_user =
  775.  
  776. ; Default password for ifx_connect() (doesn't apply in safe mode).
  777. ifx.default_password =
  778.  
  779. ; Allow or prevent persistent links.
  780. ifx.allow_persistent = On
  781.  
  782. ; Maximum number of persistent links.  -1 means no limit.
  783. ifx.max_persistent = -1
  784.  
  785. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  786. ifx.max_links = -1
  787.  
  788. ; If on, select statements return the contents of a text blob instead of its id.
  789. ifx.textasvarchar = 0
  790.  
  791. ; If on, select statements return the contents of a byte blob instead of its id.
  792. ifx.byteasvarchar = 0
  793.  
  794. ; Trailing blanks are stripped from fixed-length char columns.  May help the
  795. ; life of Informix SE users.
  796. ifx.charasvarchar = 0
  797.  
  798. ; If on, the contents of text and byte blobs are dumped to a file instead of
  799. ; keeping them in memory.
  800. ifx.blobinfile = 0
  801.  
  802. ; NULL's are returned as empty strings, unless this is set to 1.  In that case,
  803. ; NULL's are returned as string 'NULL'.
  804. ifx.nullformat = 0
  805.  
  806. [Session]
  807. ; Handler used to store/retrieve data.
  808. session.save_handler = files
  809.  
  810. ; Argument passed to save_handler.  In the case of files, this is the path
  811. ; where data files are stored. Note: Windows users have to change this 
  812. ; variable in order to use PHP's session functions.
  813. ; As of PHP 4.0.1, you can define the path as:
  814. ;     session.save_path = "N;/path"
  815. ; where N is an integer.  Instead of storing all the session files in 
  816. ; /path, what this will do is use subdirectories N-levels deep, and 
  817. ; store the session data in those directories.  This is useful if you 
  818. ; or your OS have problems with lots of files in one directory, and is 
  819. ; a more efficient layout for servers that handle lots of sessions.
  820. ; NOTE 1: PHP will not create this directory structure automatically.
  821. ;         You can use the script in the ext/session dir for that purpose.
  822. ; NOTE 2: See the section on garbage collection below if you choose to
  823. ;         use subdirectories for session storage
  824.  
  825. session.save_path = "C:/Program Files/wamp/tmp"
  826.  
  827. ; Whether to use cookies.
  828. session.use_cookies = 1
  829.  
  830. ; This option enables administrators to make their users invulnerable to
  831. ; attacks which involve passing session ids in URLs; defaults to 0.
  832. ; session.use_only_cookies = 1
  833.  
  834. ; Name of the session (used as cookie name).
  835. session.name = PHPSESSID
  836.  
  837. ; Initialize session on request startup.
  838. session.auto_start = 0
  839.  
  840. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
  841. session.cookie_lifetime = 0
  842.  
  843. ; The path for which the cookie is valid.
  844. session.cookie_path = /
  845.  
  846. ; The domain for which the cookie is valid.
  847. session.cookie_domain =
  848.  
  849. ; Handler used to serialize data.  php is the standard serializer of PHP.
  850. session.serialize_handler = php
  851.  
  852. ; Define the probability that the 'garbage collection' process is started
  853. ; on every session initialization.
  854. ; The probability is calculated by using gc_probability/gc_divisor,
  855. ; e.g. 1/100 means there is a 1% chance that the GC process starts
  856. ; on each request.
  857.  
  858. session.gc_probability = 1
  859. session.gc_divisor     = 100
  860.  
  861. ; After this number of seconds, stored data will be seen as 'garbage' and
  862. ; cleaned up by the garbage collection process.
  863. session.gc_maxlifetime = 1440
  864.  
  865. ; NOTE: If you are using the subdirectory option for storing session files
  866. ;       (see session.save_path above), then garbage collection does *not*
  867. ;       happen automatically.  You will need to do your own garbage 
  868. ;       collection through a shell script, cron entry, or some other method. 
  869. ;       For example, the following script would is the equivalent of
  870. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
  871. ;          cd /path/to/sessions; find -cmin +24 | xargs rm
  872.  
  873. ; PHP 4.2 and less have an undocumented feature/bug that allows you to
  874. ; to initialize a session variable in the global scope, albeit register_globals
  875. ; is disabled.  PHP 4.3 and later will warn you, if this feature is used.
  876. ; You can disable the feature and the warning seperately. At this time,
  877. ; the warning is only displayed, if bug_compat_42 is enabled.
  878.  
  879. session.bug_compat_42 = 1
  880. session.bug_compat_warn = 1
  881.  
  882. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
  883. ; HTTP_REFERER has to contain this substring for the session to be
  884. ; considered as valid.
  885. session.referer_check =
  886.  
  887. ; How many bytes to read from the file.
  888. session.entropy_length = 0
  889.  
  890. ; Specified here to create the session id.
  891. session.entropy_file =
  892.  
  893. ;session.entropy_length = 16
  894.  
  895. ;session.entropy_file = /dev/urandom
  896.  
  897. ; Set to {nocache,private,public,} to determine HTTP caching aspects
  898. ; or leave this empty to avoid sending anti-caching headers.
  899. session.cache_limiter = nocache
  900.  
  901. ; Document expires after n minutes.
  902. session.cache_expire = 180
  903.  
  904. ; trans sid support is disabled by default.
  905. ; Use of trans sid may risk your users security. 
  906. ; Use this option with caution.
  907. ; - User may send URL contains active session ID
  908. ;   to other person via. email/irc/etc.
  909. ; - URL that contains active session ID may be stored
  910. ;   in publically accessible computer.
  911. ; - User may access your site with the same session ID
  912. ;   always using URL stored in browser's history or bookmarks.
  913. session.use_trans_sid = 0
  914.  
  915. ; The URL rewriter will look for URLs in a defined set of HTML tags.
  916. ; form/fieldset are special; if you include them here, the rewriter will
  917. ; add a hidden <input> field with the info which is otherwise appended
  918. ; to URLs.  If you want XHTML conformity, remove the form entry.
  919. ; Note that all valid entries require a "=", even if no value follows.
  920. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
  921.  
  922. [MSSQL]
  923. ; Allow or prevent persistent links.
  924. mssql.allow_persistent = On
  925.  
  926. ; Maximum number of persistent links.  -1 means no limit.
  927. mssql.max_persistent = -1
  928.  
  929. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
  930. mssql.max_links = -1
  931.  
  932. ; Minimum error severity to display.
  933. mssql.min_error_severity = 10
  934.  
  935. ; Minimum message severity to display.
  936. mssql.min_message_severity = 10
  937.  
  938. ; Compatability mode with old versions of PHP 3.0.
  939. mssql.compatability_mode = Off
  940.  
  941. ; Connec timeout
  942. ;mssql.connect_timeout = 5
  943.  
  944. ; Query timeout
  945. ;mssql.timeout = 60
  946.  
  947. ; Valid range 0 - 2147483647.  Default = 4096.
  948. ;mssql.textlimit = 4096
  949.  
  950. ; Valid range 0 - 2147483647.  Default = 4096.
  951. ;mssql.textsize = 4096
  952.  
  953. ; Limits the number of records in each batch.  0 = all records in one batch.
  954. ;mssql.batchsize = 0
  955.  
  956. ; Specify how datetime and datetim4 columns are returned
  957. ; On => Returns data converted to SQL server settings
  958. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
  959. ;mssql.datetimeconvert = On
  960.  
  961. ; Use NT authentication when connecting to the server
  962. mssql.secure_connection = Off
  963.  
  964. ; Specify max number of processes. Default = 25
  965. ;mssql.max_procs = 25
  966.  
  967. [Assertion]
  968. ; Assert(expr); active by default.
  969. ;assert.active = On
  970.  
  971. ; Issue a PHP warning for each failed assertion.
  972. ;assert.warning = On
  973.  
  974. ; Don't bail out by default.
  975. ;assert.bail = Off
  976.  
  977. ; User-function to be called if an assertion fails.
  978. ;assert.callback = 0
  979.  
  980. ; Eval the expression with current error_reporting().  Set to true if you want
  981. ; error_reporting(0) around the eval().
  982. ;assert.quiet_eval = 0
  983.  
  984. [Ingres II]
  985. ; Allow or prevent persistent links.
  986. ingres.allow_persistent = On
  987.  
  988. ; Maximum number of persistent links.  -1 means no limit.
  989. ingres.max_persistent = -1
  990.  
  991. ; Maximum number of links, including persistents.  -1 means no limit.
  992. ingres.max_links = -1
  993.  
  994. ; Default database (format: [node_id::]dbname[/srv_class]).
  995. ingres.default_database =
  996.  
  997. ; Default user.
  998. ingres.default_user =
  999.  
  1000. ; Default password.
  1001. ingres.default_password =
  1002.  
  1003. [Verisign Payflow Pro]
  1004. ; Default Payflow Pro server.
  1005. pfpro.defaulthost = "test-payflow.verisign.com"
  1006.  
  1007. ; Default port to connect to.
  1008. pfpro.defaultport = 443
  1009.  
  1010. ; Default timeout in seconds.
  1011. pfpro.defaulttimeout = 30
  1012.  
  1013. ; Default proxy IP address (if required).
  1014. ;pfpro.proxyaddress =
  1015.  
  1016. ; Default proxy port.
  1017. ;pfpro.proxyport =
  1018.  
  1019. ; Default proxy logon.
  1020. ;pfpro.proxylogon =
  1021.  
  1022. ; Default proxy password.
  1023. ;pfpro.proxypassword =
  1024.  
  1025. [Sockets]
  1026. ; Use the system read() function instead of the php_read() wrapper.
  1027. sockets.use_system_read = On
  1028.  
  1029. [com]
  1030. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
  1031. ;com.typelib_file = 
  1032. ; allow Distributed-COM calls
  1033. ;com.allow_dcom = true
  1034. ; autoregister constants of a components typlib on com_load()
  1035. ;com.autoregister_typelib = true
  1036. ; register constants casesensitive
  1037. ;com.autoregister_casesensitive = false
  1038. ; show warnings on duplicate constat registrations
  1039. ;com.autoregister_verbose = true
  1040.  
  1041. [Printer]
  1042. ;printer.default_printer = ""
  1043.  
  1044. [mbstring]
  1045. ; language for internal character representation.
  1046. ;mbstring.language = Japanese
  1047.  
  1048. ; internal/script encoding.
  1049. ; Some encoding cannot work as internal encoding.
  1050. ; (e.g. SJIS, BIG5, ISO-2022-*)
  1051. ;mbstring.internal_encoding = EUC-JP
  1052.  
  1053. ; http input encoding.
  1054. ;mbstring.http_input = auto
  1055.  
  1056. ; http output encoding. mb_output_handler must be
  1057. ; registered as output buffer to function
  1058. ;mbstring.http_output = SJIS
  1059.  
  1060. ; enable automatic encoding translation accoding to 
  1061. ; mbstring.internal_encoding setting. Input chars are
  1062. ; converted to internal encoding by setting this to On.
  1063. ; Note: Do _not_ use automatic encoding translation for
  1064. ;       portable libs/applications.
  1065. ;mbstring.encoding_translation = Off
  1066.  
  1067. ; automatic encoding detection order.
  1068. ; auto means 
  1069. ;mbstring.detect_order = auto
  1070.  
  1071. ; substitute_character used when character cannot be converted
  1072. ; one from another
  1073. ;mbstring.substitute_character = none;
  1074.  
  1075. ; overload(replace) single byte functions by mbstring functions.
  1076. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
  1077. ; etc. Possible values are 0,1,2,4 or combination of them.
  1078. ; For example, 7 for overload everything.
  1079. ; 0: No overload
  1080. ; 1: Overload mail() function
  1081. ; 2: Overload str*() functions
  1082. ; 4: Overload ereg*() functions
  1083. ;mbstring.func_overload = 0
  1084.  
  1085. [FrontBase]
  1086. ;fbsql.allow_persistent = On
  1087. ;fbsql.autocommit = On
  1088. ;fbsql.default_database = 
  1089. ;fbsql.default_database_password =
  1090. ;fbsql.default_host =
  1091. ;fbsql.default_password =
  1092. ;fbsql.default_user = "_SYSTEM"
  1093. ;fbsql.generate_warnings = Off
  1094. ;fbsql.max_connections = 128
  1095. ;fbsql.max_links = 128
  1096. ;fbsql.max_persistent = -1
  1097. ;fbsql.max_results = 128
  1098. ;fbsql.batchSize = 1000
  1099.  
  1100. [Crack]
  1101. ; Modify the setting below to match the directory location of the cracklib
  1102. ; dictionary files.  Include the base filename, but not the file extension.
  1103. ; crack.default_dictionary = "c:\php\lib\cracklib_dict"
  1104.  
  1105. [exif]
  1106. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS. 
  1107. ; With mbstring support this will automatically be converted into the encoding
  1108. ; given by corresponding encode setting. When empty mbstring.internal_encoding 
  1109. ; is used. For the decode settings you can distinguish between motorola and 
  1110. ; intel byte order. A decode setting cannot be empty.
  1111. ;exif.encode_unicode = ISO-8859-15
  1112. ;exif.decode_unicode_motorola = UCS-2BE
  1113. ;exif.decode_unicode_intel    = UCS-2LE
  1114. ;exif.encode_jis = 
  1115. ;exif.decode_jis_motorola = JIS
  1116. ;exif.decode_jis_intel    = JIS
  1117.  
  1118. ; Local Variables:
  1119. ; tab-width: 4
  1120. ; End:
  1121.